package com.zhuiyun.project.api.venuemanagement.service;

import com.zhuiyun.project.api.coachmanagement.model.CoachAddModel;
import com.zhuiyun.project.api.venuemanagement.entity.VenueManagement;
import com.zhuiyun.project.api.venuemanagement.model.VenueAddModel;
import com.zhuiyun.project.api.venuemanagement.model.VenueUpdateModel;
import com.zhuiyun.project.common.errorCode.CommonException;
import com.zhuiyun.project.common.response.CommonResult;
import com.zhuiyun.project.utils.pageUtil.PageRequest;
import org.springframework.web.multipart.MultipartFile;

/**
 * @InterfaceName CoachManagementService
 * @Description TODO
 * @Author wuwan
 * @Date 2023/11/2 13:39
 **/
public interface VenueManagementService {
    /*
    * @Author wuwan
    * @Description 添加场馆
    * @Date 2023/11/2 14:16
    * @Return
    */
    CommonResult addVenue(VenueAddModel venueAddModel, MultipartFile file) throws CommonException;
    /*
     * @Author wuwan
     * @Description 修改场馆
     * @Date 2023/11/3 14:16
     * @Return
     */
    CommonResult updateVenue(VenueUpdateModel venueUpdateModel, MultipartFile file) throws CommonException;
    /*
    * @Author wuwan
    * @Description 场馆信息分页查询
    * @Date 2023/11/3 14:16
    * @Return
    */
    CommonResult selectVenue(PageRequest pageRequest,String venueName,String venuePhone);
//    /*
//    * @Author wuwan
//    * @Description 修改场馆状态
//    * @Date 2023/11/6 9:02
//    * @Return
//    */
//    CommonResult changeUserStatus(VenueManagement venueManagement);
    CommonResult selectById(PageRequest pageRequest, String id);
}

